arr = 'python'
for i in arr:
    print(i)

sum=0
n = 10000
while n>0:
    n//=10
    sum+=1
    print(n)
print(sum)
